package com.liuyan.service;

import com.liuyan.pojo.Content;

import java.util.List;

/**
 * Created by pc on 2016/1/5.
 */
public interface IContentService {

    boolean writeContent(Content contentBean);

    int getMaxFloor();

    boolean deleteContent(int contentId);

    int getAllCount();


    List<Content> contentListForLevelOne();
    List<Content> contentListForLevelTwo();

    List<Content> getContentOfPageForLevelOne(int currentPage);
    List<Content> getContentOfPageForLevelTwo(int currentPage);

    int getLevelByContentId(int contentId);

    boolean deleteContentByFloor(int contentId);
}
